<script>
    import { count } from '../store/index'
    function jia() {
        count.update(n => n+1)
    }
</script>


<button on:click={jia}>
    加
</button>